// BattleLineView.h : interface of the CBattleLineView class
//


#pragma once

#include "BoardGameBase/BoardGameBase.h"

class CBattleLineView : public CView
{
protected: // create from serialization only
	CBattleLineView();
	DECLARE_DYNCREATE(CBattleLineView)

// Attributes
public:
	CBattleLineDoc* GetDocument() const;

// Operations
public:

// Overrides
public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);

// Implementation
public:
	virtual ~CBattleLineView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
	
	CBoardGameBase* m_pBoardGame;

// Generated message map functions
protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnTimer(UINT_PTR nIDEvent);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnDestroy();
	virtual void OnInitialUpdate();
};

#ifndef _DEBUG  // debug version in BattleLineView.cpp
inline CBattleLineDoc* CBattleLineView::GetDocument() const
   { return reinterpret_cast<CBattleLineDoc*>(m_pDocument); }
#endif

